package com.syx.product.Service;

import com.syx.product.Dao.ProductMapper;
import com.syx.product.Model.ProductInfo;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class ProductService {
    @Resource
    ProductMapper productMapper;

    public ProductInfo selectByProductById(Integer id){
        return productMapper.selectByProductById(id);

    }
}
